package com.ksc.storekeeper.shared.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ksc.storekeeper.shared.dto.UserDTO;

public interface ProfileServiceAsync {

	void addUser(UserDTO u, AsyncCallback<Void> callback);

	void changeRole(String userName, String role, AsyncCallback<Void> callback);

	void getAllUsers(AsyncCallback<List<UserDTO>> callback);

	void changePassword(String old, String newPass, AsyncCallback<Void> callback);

}
